﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Collections;
using Webchatting.Common;
using Webchatting.Dal;
public partial class server_SendAndRecieveGroupMsg : System.Web.UI.Page
{
    public string receiveGroupId = "0";
    public string sendRUId = "0";
    public string RUGroupRemarkName = "0";
    
    public static ArrayList arrGroupRemarkNames = new ArrayList();
    public static ArrayList arrRUIds = new ArrayList();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            FormsIdentity id = (FormsIdentity)User.Identity;
            sendRUId =id.Ticket.UserData.Split("@".ToCharArray())[0];
            OperationGroup Ogroup = new OperationGroup();
            RUGroupRemarkName = Ogroup.GetGRemarkName(Request["GroupId"], id.Ticket.UserData.Split("@".ToCharArray())[0]);
            receiveGroupId = Request["GroupId"];
           
        
            Literal1.Text =  Ogroup.GetGroupMumList(receiveGroupId);

            //Response.Write(receiveGroupId + "  " + sendRUId + "  " + RUGroupRemarkName);
           

        }
    }
   /* protected void Button1_Click(object sender, EventArgs e)
    {
         FormsIdentity id1 = (FormsIdentity)User.Identity;
            
        
        ReceiveMessages rm = new ReceiveMessages();
        
        //string t = rm.ReceiveGroupsMessagesMethod(Request["GroupId"], id1.Ticket.UserData.Split("@".ToCharArray())[0]);

        //Response.Write(t);
    }*/
}
